STEP 6: Let's create the loop that will allow the player to guess more than once.

We'll use a for-loop in our program. Remember that a for-loop needs code indented underneath to run.

  • In LOGIC, go to and drag out Loop with Range.
  • Drag Say from and drop it indented inside the for loop so it has a ····.

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)